package com.molichuxing.services.infrastructure.bean;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.molichuxing.framework.bean.RootBean;

public class OfflineBean extends RootBean {
    /**
     * 支付ID id
     */
    private Integer id;

    /**
     * 流水编号 serial_number
     */
    private String serialNumber;

    /**
     * 还款类型(1:经销商, 2:用户)  repay_type
     */
    private Integer repayType;

    /**
     * 付款人 pay_name
     */
    private String payName;

    /**
     * 付款银行账号 pay_bank_account
     */
    private String payBankAccount;

    /**
     * 付款金额 pay_amount
     */
    private BigDecimal payAmount;

    /**
     * 付款时间 pay_time
     */
    private LocalDateTime payTime;

    /**
     * 经销商id dealer_id
     */
    private Integer dealerId;

    /**
     * 收款公司 receipt_company
     */
    private String receiptCompany;

    /**
     * 收款银行账号 receipt_bank_account
     */
    private String receiptBankAccount;

    /**
     * 收款开户行 receipt_bank
     */
    private String receiptBank;

    /**
     * 流水凭证 voucher_img
     */
    private String voucherImg;

    /**
     * 申请人id apply_id
     */
    private Integer applyId;

    /**
     * 申请人姓名 apply_name
     */
    private String applyName;

    /**
     * 申请时间 apply_time
     */
    private LocalDateTime applyTime;

    /**
     * 审核状态（0：未审核，1：审核通过，2：驳回） audit_status
     */
    private Integer auditStatus;

    /**
     * 审核人id audit_id
     */
    private Integer auditId;

    /**
     * 审核人姓名 audit_name
     */
    private String auditName;

    /**
     * 审核时间 audit_time
     */
    private LocalDateTime auditTime;

    /**
     * 审核备注 audit_remark
     */
    private String auditRemark;

    /**
     * 创建时间 gmt_create
     */
    private LocalDateTime gmtCreate;

    /**
     * 更新时间 gmt_modified
     */
    private LocalDateTime gmtModified;

    /**
     * payment_offline
     */
    private static final long serialVersionUID = 1L;

    /**
     * 支付ID
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return id 支付ID
     */
    @Override
	public Integer getId() {
        return id;
    }

    /**
     * 支付ID
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param id 支付ID
     */
    @Override
	public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 流水编号
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return serial_number 流水编号
     */
    public String getSerialNumber() {
        return serialNumber;
    }

    /**
     * 流水编号
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param serialNumber 流水编号
     */
    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber == null ? null : serialNumber.trim();
    }

    /**
     * 还款类型(1:经销商, 2:用户) 
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return repay_type 还款类型(1:经销商, 2:用户) 
     */
    public Integer getRepayType() {
        return repayType;
    }

    /**
     * 还款类型(1:经销商, 2:用户) 
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param repayType 还款类型(1:经销商, 2:用户) 
     */
    public void setRepayType(Integer repayType) {
        this.repayType = repayType;
    }

    /**
     * 付款人
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return pay_name 付款人
     */
    public String getPayName() {
        return payName;
    }

    /**
     * 付款人
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param payName 付款人
     */
    public void setPayName(String payName) {
        this.payName = payName == null ? null : payName.trim();
    }

    /**
     * 付款银行账号
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return pay_bank_account 付款银行账号
     */
    public String getPayBankAccount() {
        return payBankAccount;
    }

    /**
     * 付款银行账号
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param payBankAccount 付款银行账号
     */
    public void setPayBankAccount(String payBankAccount) {
        this.payBankAccount = payBankAccount == null ? null : payBankAccount.trim();
    }

    /**
     * 付款金额
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return pay_amount 付款金额
     */
    public BigDecimal getPayAmount() {
        return payAmount;
    }

    /**
     * 付款金额
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param payAmount 付款金额
     */
    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    /**
     * 付款时间
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return pay_time 付款时间
     */
    public LocalDateTime getPayTime() {
        return payTime;
    }

    /**
     * 付款时间
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param payTime 付款时间
     */
    public void setPayTime(LocalDateTime payTime) {
        this.payTime = payTime;
    }

    /**
     * 经销商id
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return dealer_id 经销商id
     */
    public Integer getDealerId() {
        return dealerId;
    }

    /**
     * 经销商id
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param dealerId 经销商id
     */
    public void setDealerId(Integer dealerId) {
        this.dealerId = dealerId;
    }

    /**
     * 收款公司
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return receipt_company 收款公司
     */
    public String getReceiptCompany() {
        return receiptCompany;
    }

    /**
     * 收款公司
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param receiptCompany 收款公司
     */
    public void setReceiptCompany(String receiptCompany) {
        this.receiptCompany = receiptCompany == null ? null : receiptCompany.trim();
    }

    /**
     * 收款银行账号
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return receipt_bank_account 收款银行账号
     */
    public String getReceiptBankAccount() {
        return receiptBankAccount;
    }

    /**
     * 收款银行账号
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param receiptBankAccount 收款银行账号
     */
    public void setReceiptBankAccount(String receiptBankAccount) {
        this.receiptBankAccount = receiptBankAccount == null ? null : receiptBankAccount.trim();
    }

    /**
     * 收款开户行
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return receipt_bank 收款开户行
     */
    public String getReceiptBank() {
        return receiptBank;
    }

    /**
     * 收款开户行
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param receiptBank 收款开户行
     */
    public void setReceiptBank(String receiptBank) {
        this.receiptBank = receiptBank == null ? null : receiptBank.trim();
    }

    /**
     * 流水凭证
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return voucher_img 流水凭证
     */
    public String getVoucherImg() {
        return voucherImg;
    }

    /**
     * 流水凭证
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param voucherImg 流水凭证
     */
    public void setVoucherImg(String voucherImg) {
        this.voucherImg = voucherImg == null ? null : voucherImg.trim();
    }

    /**
     * 申请人id
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return apply_id 申请人id
     */
    public Integer getApplyId() {
        return applyId;
    }

    /**
     * 申请人id
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param applyId 申请人id
     */
    public void setApplyId(Integer applyId) {
        this.applyId = applyId;
    }

    /**
     * 申请人姓名
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return apply_name 申请人姓名
     */
    public String getApplyName() {
        return applyName;
    }

    /**
     * 申请人姓名
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param applyName 申请人姓名
     */
    public void setApplyName(String applyName) {
        this.applyName = applyName == null ? null : applyName.trim();
    }

    /**
     * 申请时间
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return apply_time 申请时间
     */
    public LocalDateTime getApplyTime() {
        return applyTime;
    }

    /**
     * 申请时间
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param applyTime 申请时间
     */
    public void setApplyTime(LocalDateTime applyTime) {
        this.applyTime = applyTime;
    }

    /**
     * 审核状态（0：未审核，1：审核通过，2：驳回）
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return audit_status 审核状态（0：未审核，1：审核通过，2：驳回）
     */
    public Integer getAuditStatus() {
        return auditStatus;
    }

    /**
     * 审核状态（0：未审核，1：审核通过，2：驳回）
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param auditStatus 审核状态（0：未审核，1：审核通过，2：驳回）
     */
    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
    }

    /**
     * 审核人id
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return audit_id 审核人id
     */
    public Integer getAuditId() {
        return auditId;
    }

    /**
     * 审核人id
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param auditId 审核人id
     */
    public void setAuditId(Integer auditId) {
        this.auditId = auditId;
    }

    /**
     * 审核人姓名
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return audit_name 审核人姓名
     */
    public String getAuditName() {
        return auditName;
    }

    /**
     * 审核人姓名
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param auditName 审核人姓名
     */
    public void setAuditName(String auditName) {
        this.auditName = auditName == null ? null : auditName.trim();
    }

    /**
     * 审核时间
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return audit_time 审核时间
     */
    public LocalDateTime getAuditTime() {
        return auditTime;
    }

    /**
     * 审核时间
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param auditTime 审核时间
     */
    public void setAuditTime(LocalDateTime auditTime) {
        this.auditTime = auditTime;
    }

    /**
     * 审核备注
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return audit_remark 审核备注
     */
    public String getAuditRemark() {
        return auditRemark;
    }

    /**
     * 审核备注
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param auditRemark 审核备注
     */
    public void setAuditRemark(String auditRemark) {
        this.auditRemark = auditRemark == null ? null : auditRemark.trim();
    }

    /**
     * 创建时间
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return gmt_create 创建时间
     */
    @Override
	public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    /**
     * 创建时间
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param gmtCreate 创建时间
     */
    @Override
	public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     * 更新时间
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @return gmt_modified 更新时间
     */
    @Override
	public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    /**
     * 更新时间
     * @author 邹铭钰
     * @date 2019-08-16 10:43:15
     * @param gmtModified 更新时间
     */
    @Override
	public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        OfflineBean other = (OfflineBean) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getSerialNumber() == null ? other.getSerialNumber() == null : this.getSerialNumber().equals(other.getSerialNumber()))
            && (this.getRepayType() == null ? other.getRepayType() == null : this.getRepayType().equals(other.getRepayType()))
            && (this.getPayName() == null ? other.getPayName() == null : this.getPayName().equals(other.getPayName()))
            && (this.getPayBankAccount() == null ? other.getPayBankAccount() == null : this.getPayBankAccount().equals(other.getPayBankAccount()))
            && (this.getPayAmount() == null ? other.getPayAmount() == null : this.getPayAmount().equals(other.getPayAmount()))
            && (this.getPayTime() == null ? other.getPayTime() == null : this.getPayTime().equals(other.getPayTime()))
            && (this.getDealerId() == null ? other.getDealerId() == null : this.getDealerId().equals(other.getDealerId()))
            && (this.getReceiptCompany() == null ? other.getReceiptCompany() == null : this.getReceiptCompany().equals(other.getReceiptCompany()))
            && (this.getReceiptBankAccount() == null ? other.getReceiptBankAccount() == null : this.getReceiptBankAccount().equals(other.getReceiptBankAccount()))
            && (this.getReceiptBank() == null ? other.getReceiptBank() == null : this.getReceiptBank().equals(other.getReceiptBank()))
            && (this.getVoucherImg() == null ? other.getVoucherImg() == null : this.getVoucherImg().equals(other.getVoucherImg()))
            && (this.getApplyId() == null ? other.getApplyId() == null : this.getApplyId().equals(other.getApplyId()))
            && (this.getApplyName() == null ? other.getApplyName() == null : this.getApplyName().equals(other.getApplyName()))
            && (this.getApplyTime() == null ? other.getApplyTime() == null : this.getApplyTime().equals(other.getApplyTime()))
            && (this.getAuditStatus() == null ? other.getAuditStatus() == null : this.getAuditStatus().equals(other.getAuditStatus()))
            && (this.getAuditId() == null ? other.getAuditId() == null : this.getAuditId().equals(other.getAuditId()))
            && (this.getAuditName() == null ? other.getAuditName() == null : this.getAuditName().equals(other.getAuditName()))
            && (this.getAuditTime() == null ? other.getAuditTime() == null : this.getAuditTime().equals(other.getAuditTime()))
            && (this.getAuditRemark() == null ? other.getAuditRemark() == null : this.getAuditRemark().equals(other.getAuditRemark()))
            && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
            && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()));
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getSerialNumber() == null) ? 0 : getSerialNumber().hashCode());
        result = prime * result + ((getRepayType() == null) ? 0 : getRepayType().hashCode());
        result = prime * result + ((getPayName() == null) ? 0 : getPayName().hashCode());
        result = prime * result + ((getPayBankAccount() == null) ? 0 : getPayBankAccount().hashCode());
        result = prime * result + ((getPayAmount() == null) ? 0 : getPayAmount().hashCode());
        result = prime * result + ((getPayTime() == null) ? 0 : getPayTime().hashCode());
        result = prime * result + ((getDealerId() == null) ? 0 : getDealerId().hashCode());
        result = prime * result + ((getReceiptCompany() == null) ? 0 : getReceiptCompany().hashCode());
        result = prime * result + ((getReceiptBankAccount() == null) ? 0 : getReceiptBankAccount().hashCode());
        result = prime * result + ((getReceiptBank() == null) ? 0 : getReceiptBank().hashCode());
        result = prime * result + ((getVoucherImg() == null) ? 0 : getVoucherImg().hashCode());
        result = prime * result + ((getApplyId() == null) ? 0 : getApplyId().hashCode());
        result = prime * result + ((getApplyName() == null) ? 0 : getApplyName().hashCode());
        result = prime * result + ((getApplyTime() == null) ? 0 : getApplyTime().hashCode());
        result = prime * result + ((getAuditStatus() == null) ? 0 : getAuditStatus().hashCode());
        result = prime * result + ((getAuditId() == null) ? 0 : getAuditId().hashCode());
        result = prime * result + ((getAuditName() == null) ? 0 : getAuditName().hashCode());
        result = prime * result + ((getAuditTime() == null) ? 0 : getAuditTime().hashCode());
        result = prime * result + ((getAuditRemark() == null) ? 0 : getAuditRemark().hashCode());
        result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
        result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
        return result;
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", serialNumber=").append(serialNumber);
        sb.append(", repayType=").append(repayType);
        sb.append(", payName=").append(payName);
        sb.append(", payBankAccount=").append(payBankAccount);
        sb.append(", payAmount=").append(payAmount);
        sb.append(", payTime=").append(payTime);
        sb.append(", dealerId=").append(dealerId);
        sb.append(", receiptCompany=").append(receiptCompany);
        sb.append(", receiptBankAccount=").append(receiptBankAccount);
        sb.append(", receiptBank=").append(receiptBank);
        sb.append(", voucherImg=").append(voucherImg);
        sb.append(", applyId=").append(applyId);
        sb.append(", applyName=").append(applyName);
        sb.append(", applyTime=").append(applyTime);
        sb.append(", auditStatus=").append(auditStatus);
        sb.append(", auditId=").append(auditId);
        sb.append(", auditName=").append(auditName);
        sb.append(", auditTime=").append(auditTime);
        sb.append(", auditRemark=").append(auditRemark);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}